Inheritance with Overriding Without Non-monotonic Reasoning
نویسنده
چکیده
We present a query language, called the Datalog, for deductive object-oriented databases. While a direct semantics for inheritance with overriding and encapsulation is desirable, an alternative method for capturing these two features in Datalog based on the idea of program transformation and compilation is proposed. A reduction technique for Datalog programs to Datalog is discussed. The elegance of the proposed reduction technique is that the transformed programs use purely deductive means to capture these two important features in Datalog without the need for stratification or non-monotonic reasoning. The strength of the reduction technique rests on the so called i-completion and context resolution schemes that respectively handle overriding and encapsulation. We also outline a prototype implementation of Datalog on CORAL deductive database system. Unlike most others, our implementation does not require meta-interpretation and consequently readily exploits the rich set of optimization techniques available in CORAL.
منابع مشابه
Inheritance with Overriding Without Non-monotonic Reasoning in Datalog++
We present a query language, called the Datalog, for deductive object-oriented databases. While a direct semantics for inheritance with overriding and encapsulation is desirable, an alternative method for capturing these two features in Datalog based on the idea of program transformation and compilation is proposed. A reduction technique for Datalog programs to Datalog is discussed. The eleganc...
متن کاملEmpowering OWL with Overriding Inheritance, Conflict Resolution and Non-monotonic Reasoning
The popularity of OWL for knowledge representation in the Semantic Web applications makes it an attractive platform. Although OWL supports some form of object-oriented features for knowledge structuring and maintenance, it is significantly weak in capturing most essential object-oriented features such as single and multiple inheritance, default class values, methods, overriding and encapsulatio...
متن کاملSemantics of Behavioral Inheritance in Deductive Object-oriented Databases Semantics of Behavioral Inheritance in Deductive Object-oriented Databases
We propose a novel semantics for object-oriented deductive databases in the direction of F-logic to logically account for behavioral inheritance, connict resolution in multiple inheritance hierarchies, and overriding. We introduce the ideas of withdrawal, locality, and inheritability of properties (i.e., methods and signatures). Exploiting these ideas, we develop a declarative semantics of beha...
متن کاملA Declarative Semantics for Behavioral Inheritance and Connict Resolution
We propose a novel semantics for object-oriented deductive databases in the direction of F-logic to logically account for behavioral inheritance, connict resolution in multiple inheritance hierarchies, and overriding. We introduce the ideas of withdrawal , locality, and inheritability of properties (i.e., methods and signatures). Exploiting these ideas, we develop a declarative semantics of beh...
متن کاملA Declarative Semantics for Behavioral Inheritance and Conflict Resolution
We propose a novel semantics for object oriented deductive databases in the direc tion of F logic to logically account for behavioral inheritance con ict resolution in multiple inheritance hierarchies and overriding We introduce the ideas of with drawal locality and inheritability of properties i e methods and signatures Ex ploiting these ideas we develop a declarative semantics of behavioral i...
متن کامل